package com.zjb.demo.system.domain.dto;

import com.mybatisflex.core.paginate.Page;
import com.zjb.demo.system.domain.SysDept;

/**
 * @author 庄佳彬
 * @since 2024/1/4 23:02
 */
public record SysDeptPageQueryDto(
        Long deptId,
        Long parentId,
        String deptName,
        String status,
        Page<SysDept> page
) {
    public SysDeptPageQueryDto(Long deptId, Long parentId, String deptName, String status) {
        this(deptId, parentId, deptName, status, null);
    }
}
